package Basic;

import java.util.Scanner;

public class NEW1 {
    public static void main(String[] args) {
        String  str = "aaa@bbb@ccc";
        String [] a = str.split("@");
        for( String array : a ){
        System.out.println(array);
        }
    }
}
